<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- Simple Demonstration Website for CS444 by Michael Carey -->
<html>
	<head>
		<title>Adena Server Welcome</title>

	</head>

	<body>
		<center><img src="adena.png" alt="Adena Logo"><b>Welcome to Adena</b></center>

		<p>The Adena server is a c/c++ UNIX sockets beased project
		   that has some simple security measures and simple web 
		   server properties.</p>

		<p>To start the Adena Server use: <b>./adena</b></p>

		<p>The Adena server can also take certain flags:
			<ul><li><b>-p</b> port_number (port_number above 1200)</li>
			    <li><b>-u</b> disable username checks</li>	
			    <li><b>-d</b> for debugging</li></ul>	

		Adena Specsheet (pdf):<a href="adena.pdf">here</a>.<br>
		Adena 404 (links to a non-existant page): <a href="thisisnotapage.html">here</a><br>
		Adena 403 (links to a page without permissions): <a href="secure.html">here</a><br>

		<p><u><b>Working:</b></u><br>
			User ID Based Security - Only files created by mcarey can be accessed.<br>
			Permissions Based Security - Only files readable by mcarey can be accessed.<br>
			URL Stripping Secuirty - Only 0-9, a-Z, ., and / are allowed. ../ is filtered.<br>
			Error pages - <a href="404.html">404 Not Found</a> and <a href="403.html">403 Forbidden</a>.<br>
			HTTP Status Headers - 200 OK, 403 FORBIDDEN, 404 NOT FOUND<br>	
			Multiple File Types - <a href="adena.gif">gif</a>, <a href="adena.jpg">jp(e)g</a>, 
			<a href="adena.pdf">pdf</a>, html, <a href="jabberwocky.txt">txt</a><br>
			Threaded Operation - Added 5/29/2007<br>
			Redirects - Added 6/1/2007 - Test <a href="pricewatch.html">here</a> 
			(points to /pricewatch.html, redirects pricewatch.html.redirect)<br>
			Rate-Limiting - Added 6/2/2007 - Test <a href="large.jpg">here</a>
			(has a .ratelimit file with 256 in it. 256b/s = 2Kb/s aka painfully slow)<br>
			The same file without the ratelimit file <a href="large_fast.jpg">here</a><br>

		<p><u><b>Possible Extra Credit:</b></u><br>
		Correct use of fork() and zombie process killer<br>
		Rate Limiting of Redirects and everything else<br>
		Converting / into /index.html instead of a blank page<br>
		Full Header (Time and Server fields plus others)<br>
		Sweet images (with proper headers, something most people had problems with)<br>
		
	</body>
</html>
